|
AT-NFC
2.1 (win)
AT-NFC kernel set
|
HAL custom cardholder verification functions Interface. More...
Macros | |
| #define | KER_CHECK_CUSTOM_CVM_COND(CVM, Condition) KER_FALSE |
| #define | KER_CHECK_CUSTOM_CVM(CVM) KER_CVM_RES_UNREC |
| #define | KER_APPLY_CUSTOM_CVM(CVM, OutcomeCVM) KER_CVM_RES_UNREC |
Typedefs | |
| typedef KER_BOOL(KER_API * | CALLBACK_CV_CHECK_CUST_CVM_CONDITION) (KER_CTX_PARAM KER_VOID *pCallbackHandle, KER_BYTE btCVM, KER_BYTE btCondition) |
| Callback type for check custom cvm condition. More... | |
| typedef KER_BYTE(KER_API * | CALLBACK_CV_CHECK_CUST_CVM) (KER_CTX_PARAM KER_VOID *pCallbackHandle, KER_BYTE btCVM) |
| Callback type for check if custom cvm recognized and supported. More... | |
HAL custom cardholder verification functions Interface.
This functions should be implemented by terminal application to support custom cardholder verification methods
| #define KER_APPLY_CUSTOM_CVM | ( | CVM, | |
| OutcomeCVM | |||
| ) | KER_CVM_RES_UNREC |
\ <>
| #define KER_CHECK_CUSTOM_CVM | ( | CVM | ) | KER_CVM_RES_UNREC |
\ <>
| #define KER_CHECK_CUSTOM_CVM_COND | ( | CVM, | |
| Condition | |||
| ) | KER_FALSE |
\ <>
| typedef KER_BYTE(KER_API * CALLBACK_CV_CHECK_CUST_CVM) (KER_CTX_PARAM KER_VOID *pCallbackHandle, KER_BYTE btCVM) |
Callback type for check if custom cvm recognized and supported.
| [in] | pCallbackHandle | - callback context, obtained from Terminal Application, and stored by hal_register_callback (btCallbackType = KER_HAL_CALLBACK_HANDLE) |
| [in] | btCVM | CVM from CV Rule to be aplied |
This callback is optional. Check custom cvm can be implemented by the hal itself (KER_CHECK_CUSTOM_CVM)
| typedef KER_BOOL(KER_API * CALLBACK_CV_CHECK_CUST_CVM_CONDITION) (KER_CTX_PARAM KER_VOID *pCallbackHandle, KER_BYTE btCVM, KER_BYTE btCondition) |
Callback type for check custom cvm condition.
| [in] | pCallbackHandle | - callback context, obtained from Terminal Application, and stored by hal_register_callback (btCallbackType = KER_HAL_CALLBACK_HANDLE) |
| [in] | btCVM | CVM from CV Rule to be aplied |
| [in] | btCondition | from CV Rule to be aplied |
This callback is optional. Check custom cvm conditions can be implemented by the hal itself (KER_CHECK_CUSTOM_CVM_COND)